FROM nginx:latest

ENV TZ 'Asia/Shanghai'

# Install curl bash tree tzdata Set time zoneinfo
RUN apt-get update \
    && apt-get install -y curl vim \
    && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
    && echo "Asia/Shanghai" > /etc/timezone \
    && rm -rf /var/cache/apk/*